import { Module } from '@nestjs/common';
import { HttpStrategy } from 'src/share/strategy/http.strategy';
import { UserModule } from 'src/modules/user/user.module';
import { AuthService } from 'src/modules/Auth/auth.service'
import { PassportModule } from '@nestjs/passport';

@Module({
  imports: [
    PassportModule.register({defaultStrategy: 'bearer'}),
    UserModule,
  ],
  providers: [HttpStrategy, AuthService],
  exports: [PassportModule, AuthService],
  controllers: []
})
export class AuthModule {}